package com.zengdada;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import tk.mybatis.spring.annotation.MapperScan;

// 发布时注解掉
//@SpringBootApplication
//@ServletComponentScan // 启动项目时启动tomcat监听等
@MapperScan(basePackages = "com.zengdada.*.mapper")
public class ControllerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ControllerApplication.class, args);
    }
}
